<?xml version="1.0" encoding="utf-8"?>
<!-- edited with XMLSpy v2010 rel. 3 sp1 (http://www.altova.com) by Kalle Launiala (Citrus Solutions Oy) -->
<xs:schema xmlns="http://tempuri.org/Context_v1_0.xsd" xmlns:mstns="http://tempuri.org/Context_v1_0.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://tempuri.org/Context_v1_0.xsd" elementFormDefault="qualified" id="Context_v1_0">
	<xs:complexType name="ContextType">
		<xs:sequence>
			<xs:element name="Properties" type="PropertiesType" minOccurs="0">
				<xs:key name="PKProperty">
					<xs:selector xpath="Property"/>
					<xs:field xpath="@name"/>
				</xs:key>
			</xs:element>
		</xs:sequence>
		<xs:attribute name="name" use="required"/>
		<xs:attribute name="namespaceName" use="required"/>
		<xs:attribute name="instanceHost" use="required">
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:enumeration value="Static"/>
					<xs:enumeration value="WCFOperationContext"/>
					<xs:enumeration value="HttpContext"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
	<xs:complexType name="ContextsType">
		<xs:sequence>
			<xs:element name="Context" type="ContextType" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="PropertyType">
		<xs:attribute name="name" use="required"/>
		<xs:attribute name="dataType" use="required"/>
		<xs:attribute name="shortcutPropertyName" type="xs:string" use="optional"/>
	</xs:complexType>
	<xs:complexType name="PropertiesType">
		<xs:sequence>
			<xs:element name="Property" type="PropertyType" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="ContextAbstraction">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="Contexts" type="ContextsType">
					<xs:key name="PKContext">
						<xs:selector xpath="Context"/>
						<xs:field xpath="@name"/>
					</xs:key>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
</xs:schema>
